﻿<html>
<title>Tools</title>
<head>
<meta charset="UTF-8">
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.js"></script>

<link rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.5.0/css/amazeui.css">
<link rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.5.0/css/amazeui.min.css">

<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.min.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.ie8polyfill.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.ie8polyfill.min.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.widgets.helper.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.5.0/js/amazeui.widgets.helper.min.js"></script>
<script type="text/javascript">

function resetData(openid){
	$("#RET").html("waiting...")
	
	$.ajax({
		url:"/../ResetByOpenID?OpenID="+openid,
		success:function(data){
				$("#RET").html(data);
			}
		});
}

function ajaxUrl(url){
	$("#RET").html("waiting...")
	
	$.ajax({
		url:"/../"+url,
		success:function(data){
				$("#RET").html(data);
			}
		});
}

$(document).ready(function(){
});

</script>
</head>
<body>



<div style="font-size:35">
  
  <input type="button" value="重置 刘天鹏" onclick="resetData('oUDwYuOlgnjx9z2pEQlTZ85Elsxo')"></input><p/>
  <input type="button" value="重置 浅水湾" onclick="resetData('oUDwYuBc0oB5dvRSXvy4bM032u0U')"></input><p/>
  <input type="button" value="重置 蔡秀桐" onclick="resetData('oUDwYuAGg5txPKx7oKhcEgY9MKQQ')"></input><p/>
  <input type="button" value="重置 风清扬笑" onclick="resetData('oUDwYuF0HhPNRzvGQp7av1t0wWMM')"></input><p/>
  <input type="button" value="重置 小毛" onclick="resetData('oUDwYuGiA4klEVrLPxquNScidWxE')"></input><p/>
  <input type="button" value="重置 jintemp" onclick="resetData('oUDwYuKgh_fOeS9ilV3UtUa_bgmU')"></input><p/>
  <input type="button" value="重置 Lattimore Z." onclick="resetData('oUDwYuKvmwSO3mdKnCcArQaOh5WQ')"></input><p/>
  <input type="button" value="重置 彩色铅笔" onclick="resetData('oUDwYuL1zCpZgsQYQZiDRGboUNDY')"></input><p/>
	<input type="button" value="重置 摘星" onclick="resetData('oUDwYuB3HdzQbpeUbVmXtk8rIFGU')"></input><p/>
  <hr/>
  <p/>
  <input type="button" value="重置 好友分享数量" onclick="ajaxUrl('resetShareFirends')"></input><p/>
  <input type="button" value="重置 朋友圈分享数量" onclick="ajaxUrl('resetShareTimeline')"></input><p/>
  <input type="button" value="重置 最高分" onclick="ajaxUrl('resetBestScore')"></input><p/>

  <p/>
  <div id="RET"><div>
</div> 

</body>
</html>
